<?php
// +----------------------------------------------------------------------
// | 规格值模型
// +----------------------------------------------------------------------
// | 2020-4-10
// +----------------------------------------------------------------------
// | Author: 周`
// +----------------------------------------------------------------------


namespace app\common\model\mall;

use app\common\model\TimeModel;

class ItemSpecValue extends TimeModel
{
    protected $deleteTime = 'delete_time';
    protected $pk = 'spec_value_id';
    //所属规格类
    public function category()
    {
        return $this->belongsTo('app\common\model\mall\ItemSpec','spec_id','spec_id');
    }
    
}
